<?php
/**
 * Minhlog 视图助手抽象类
 *
 * LICENSE
 *
 * This source file is subject to the new BSD license that is bundled
 * with this package in the file LICENSE.txt.
 *
 * @category   Minh
 * @package    Minh_View_Helper
 * @copyright  Copyright (c) 2009-2010 Minh.Shu Minh.Shu@gmail.com
 * @license    New BSD License
 * @author     Minh.Shu
 * @version    $Id: SideBarAbstract.php 37 2010-05-10 16:20:47Z Minh.Shu $
 * @uses        Zend_View_Helper
 */
abstract class Minh_View_Helper_SideBarAbstract
{
    /**
     * cache对象
     * @var Minh_Cache_File
     */
    public $cache;
    /**
     * 设置视图对象
     * @param Zend_View_Interface $view
     * @return object
     */
    public function setView (Zend_View_Interface $view)
    {
        //获取缓存
        Minh_Cache_File::setCacheStatus(CACHE_OPTION);
        $this->cache = Minh_Cache_File::getCache();
    }
}